using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public class Service
{
    private int serviceId;
    private int accountId;
    private string title;
    private DateTime createDate;
    private DateTime updateDate;

    public int ServiceId
    {
        get { return serviceId; }
        set { serviceId = value; }
    }

    public int AccountId
    {
        get { return accountId; }
        set { accountId = value; }
    }

    public string Title
    {
        get { return title; }
        set { title = value; }
    }

    public DateTime CreateDate
    {
        get { return createDate; }
        set { createDate = value; }
    }

    public DateTime UpdateDate
    {
        get { return updateDate; }
        set { updateDate = value; }
    }

    /// <summary>
    /// Parameterless constructor for serialization.
    /// </summary>
    public Service() { }

    protected Service(
        int serviceId,
        int accountId,
        string title,
        DateTime createDate,
        DateTime updateDate)
    {
        this.serviceId = serviceId;
        this.accountId = accountId;
        this.title = title;
        this.createDate = createDate;
        this.updateDate = updateDate;
    }
}
